<!-- content -->
<div id="content">
	<h2>产品大全</h2>
    <!-- mainContent -->
	<div id="mainContent">
		<div id="listLeechdoms" class="clear">
            <%= @num %>
            <table border="0" cellspacing="0" cellpadding="0">
            <% for leechdom in @leechdoms %>
                <tr>
                <td class="title"><%= link_to leechdom.proprietary_name, leechdom %></td>
                <td><%=h leechdom.batch_no %></td>
                <td><%=h leechdom.indications %></td>
                </tr>              
            <% end %>  
            </table>        
		</div>
        <%= will_paginate @leechdoms %>
    </div>
    <div id="sideContent">
        <h3>药品分类</h3>
        <ul>
        <% for category in @categories %>
          <li><strong><%= category.name %></strong><br /><% if category.children.first %><% for child in category.children %><a href="/categories/list/<%= child.id %>"><%= child.name %></a><br /><% end %><% else %><a href="/categories/list/<%= category.id %>"><%= category.name %></a><% end %></li>
        <% end %>
        </ul>
    </div>    
</div>